package com.park.service.impl.user;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.park.client.model.user.RoleMenuModel;
import com.park.client.service.user.RoleMenuService;
import com.park.dao.user.RoleMenuMapper;
import com.park.service.impl.base.BaseServiceImpl;

@Service("roleMenuService")
public class RoleMenuServiceImpl extends BaseServiceImpl<RoleMenuModel> implements RoleMenuService{
	
	@Autowired
	private RoleMenuMapper roleMenuMapper;

	@Override
	public boolean insert(RoleMenuModel record) {
		return roleMenuMapper.insert(record) == 1;
	}
	
}
